package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class LoginSettingPageActivity extends UMWindowActivity {

	protected UMWindow LoginSettingPage = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton btnback = null;
protected UMLabel label0 = null;
protected UMScrollView Scrollview_wpanelsetting = null;
protected XVerticalLayout wpanelsetting = null;
protected XHorizontalLayout wpanel4 = null;
protected UMLabel wlabel8 = null;
protected UMLabel wlabel9 = null;
protected UMTextbox txthost = null;
protected UMLabel label1 = null;
protected UMTextbox txtport = null;
protected XVerticalLayout wpanel5 = null;
protected UMButton btntestconn = null;
protected XHorizontalLayout wpanel6 = null;
protected UMLabel wlabel10 = null;
protected UMLabel wlabel11 = null;
protected UMTextbox txtgroupcode = null;
protected XHorizontalLayout wpanel7 = null;
protected XHorizontalLayout panel0 = null;
protected UMLabel label2 = null;
protected UMLabel label3 = null;
protected UMLabel lblfactory = null;
protected UMButton btnfactory = null;
protected XHorizontalLayout wpanel8 = null;
protected UMLabel wlabel14 = null;
protected UMLabel wlabel15 = null;
protected UMLabel lblstockorg = null;
protected UMButton btnstockorg = null;
protected XHorizontalLayout wpanel9 = null;
protected UMLabel wlabel16 = null;
protected UMLabel wlabel17 = null;
protected UMLabel lblstock = null;
protected UMButton btnstock = null;
protected XHorizontalLayout wpanel12 = null;
protected XHorizontalLayout panel1 = null;
protected UMLabel label4 = null;
protected UMLabel label5 = null;
protected UMToggleButtonGroup tbgenabledmodule = null;
protected UMToggleButton togglebutton0 = null;
protected UMToggleButton togglebutton1 = null;
protected XVerticalLayout panel2 = null;
protected UMButton btnsave = null;

	
	protected final static int ID_LOGINSETTINGPAGE = 1896951390;
protected final static int ID_VIEWPAGE0 = 1545152022;
protected final static int ID_NAVIGATORBAR0 = 573171113;
protected final static int ID_BTNBACK = 803077344;
protected final static int ID_LABEL0 = 2041881332;
protected final static int ID_SCROLLVIEW_WPANELSETTING = 1227582350;
protected final static int ID_WPANELSETTING = 60410705;
protected final static int ID_WPANEL4 = 165922537;
protected final static int ID_WLABEL8 = 1733742620;
protected final static int ID_WLABEL9 = 431686146;
protected final static int ID_TXTHOST = 1482129378;
protected final static int ID_LABEL1 = 1883580383;
protected final static int ID_TXTPORT = 1226761040;
protected final static int ID_WPANEL5 = 2045618380;
protected final static int ID_BTNTESTCONN = 1084568447;
protected final static int ID_WPANEL6 = 509159644;
protected final static int ID_WLABEL10 = 1783884985;
protected final static int ID_WLABEL11 = 1561790748;
protected final static int ID_TXTGROUPCODE = 1099048760;
protected final static int ID_WPANEL7 = 337295883;
protected final static int ID_PANEL0 = 1973865527;
protected final static int ID_LABEL2 = 798299589;
protected final static int ID_LABEL3 = 569571557;
protected final static int ID_LBLFACTORY = 1924663376;
protected final static int ID_BTNFACTORY = 1851219692;
protected final static int ID_WPANEL8 = 92658872;
protected final static int ID_WLABEL14 = 1089822316;
protected final static int ID_WLABEL15 = 1339098965;
protected final static int ID_LBLSTOCKORG = 952751112;
protected final static int ID_BTNSTOCKORG = 1992025142;
protected final static int ID_WPANEL9 = 1634427530;
protected final static int ID_WLABEL16 = 2034008720;
protected final static int ID_WLABEL17 = 863183843;
protected final static int ID_LBLSTOCK = 1232136941;
protected final static int ID_BTNSTOCK = 74531779;
protected final static int ID_WPANEL12 = 1393628406;
protected final static int ID_PANEL1 = 39263083;
protected final static int ID_LABEL4 = 53677403;
protected final static int ID_LABEL5 = 352214699;
protected final static int ID_TBGENABLEDMODULE = 4394687;
protected final static int ID_TOGGLEBUTTON0 = 150313056;
protected final static int ID_TOGGLEBUTTON1 = 330596668;
protected final static int ID_PANEL2 = 1147585992;
protected final static int ID_BTNSAVE = 1989616823;

	
	
	@Override
	public String getControllerName() {
		return "LoginSettingPageController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("LoginSettingPage",ID_LOGINSETTINGPAGE);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("btnback",ID_BTNBACK);
  idmap.put("label0",ID_LABEL0);
  idmap.put("Scrollview_wpanelsetting",ID_SCROLLVIEW_WPANELSETTING);
  idmap.put("wpanelsetting",ID_WPANELSETTING);
  idmap.put("wpanel4",ID_WPANEL4);
  idmap.put("wlabel8",ID_WLABEL8);
  idmap.put("wlabel9",ID_WLABEL9);
  idmap.put("txthost",ID_TXTHOST);
  idmap.put("label1",ID_LABEL1);
  idmap.put("txtport",ID_TXTPORT);
  idmap.put("wpanel5",ID_WPANEL5);
  idmap.put("btntestconn",ID_BTNTESTCONN);
  idmap.put("wpanel6",ID_WPANEL6);
  idmap.put("wlabel10",ID_WLABEL10);
  idmap.put("wlabel11",ID_WLABEL11);
  idmap.put("txtgroupcode",ID_TXTGROUPCODE);
  idmap.put("wpanel7",ID_WPANEL7);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("label2",ID_LABEL2);
  idmap.put("label3",ID_LABEL3);
  idmap.put("lblfactory",ID_LBLFACTORY);
  idmap.put("btnfactory",ID_BTNFACTORY);
  idmap.put("wpanel8",ID_WPANEL8);
  idmap.put("wlabel14",ID_WLABEL14);
  idmap.put("wlabel15",ID_WLABEL15);
  idmap.put("lblstockorg",ID_LBLSTOCKORG);
  idmap.put("btnstockorg",ID_BTNSTOCKORG);
  idmap.put("wpanel9",ID_WPANEL9);
  idmap.put("wlabel16",ID_WLABEL16);
  idmap.put("wlabel17",ID_WLABEL17);
  idmap.put("lblstock",ID_LBLSTOCK);
  idmap.put("btnstock",ID_BTNSTOCK);
  idmap.put("wpanel12",ID_WPANEL12);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("label4",ID_LABEL4);
  idmap.put("label5",ID_LABEL5);
  idmap.put("tbgenabledmodule",ID_TBGENABLEDMODULE);
  idmap.put("togglebutton0",ID_TOGGLEBUTTON0);
  idmap.put("togglebutton1",ID_TOGGLEBUTTON1);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("btnsave",ID_BTNSAVE);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //wpanelsetting - action:wpanelsetting_onload
    UMEventArgs args = new UMEventArgs(LoginSettingPageActivity.this);
    actionWpanelsetting_onload(wpanelsetting,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","登录设置"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
btnback = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTNBACK
,"font-pressed-color","#e50011"
,"color","#ffffff"
,"onclick","action:btnback_onclick"
,"width","44"
,"font-size","20"
,"font-family","default"
,"valign","center"
,"background-image","icon_back.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
navigatorbar0.addView(btnback);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"width","0"
,"weight","1"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label0);

return navigatorbar0;
}
public View getWpanel4View(final UMActivity context,IBinderGroup binderGroup) {
wpanel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_WPANEL4
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","LEFT"
,"height","44"
);
wlabel8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_WLABEL8
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","服务器"
,"margin-right","10"
,"height","20"
);
wpanel4.addView(wlabel8);
wlabel9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_WLABEL9
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","label"
,"height","35"
);
wpanel4.addView(wlabel9);
txthost = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TXTHOST
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"font-size","17"
,"margin-right","2"
,"bindfield","host"
,"background","#ffffff"
,"width","180.0"
,"font-family","default"
,"placeholder","NC服务器IP"
,"layout-type","hbox"
,"halign","LEFT"
,"height","40.0"
);
wpanel4.addView(txthost);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"color","#000000"
,"font-weight","bold"
,"font-size","20"
,"valign","center"
,"widthwrap","7.0"
,"content",":"
,"heightwrap","29.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
wpanel4.addView(label1);
txtport = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TXTPORT
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"font-size","17"
,"margin-left","2"
,"bindfield","port"
,"background","#ffffff"
,"width","100.0"
,"font-family","default"
,"placeholder","端口号"
,"layout-type","hbox"
,"halign","LEFT"
,"height","40.0"
);
wpanel4.addView(txtport);

return wpanel4;
}
public View getWpanel5View(final UMActivity context,IBinderGroup binderGroup) {
wpanel5 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_WPANEL5
,"width","fill"
,"valign","CENTER"
,"layout-type","vbox"
,"halign","right"
,"height","40"
);
btntestconn = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTNTESTCONN
,"padding-top","2"
,"font-pressed-color","#e50011"
,"color","#ffffff"
,"onclick","action:btntestconn_onclick"
,"padding-left","2"
,"font-size","17"
,"padding-bottom","2"
,"valign","center"
,"widthwrap","76.0"
,"margin-right","10"
,"heightwrap","29.0"
,"background","#f7931e"
,"width","wrap"
,"font-family","default"
,"layout-type","vbox"
,"halign","center"
,"value","测试连接"
,"height","wrap"
,"padding-right","2"
);
wpanel5.addView(btntestconn);

return wpanel5;
}
public View getWpanel6View(final UMActivity context,IBinderGroup binderGroup) {
wpanel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_WPANEL6
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","LEFT"
,"height","44"
);
wlabel10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_WLABEL10
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","集团"
,"margin-right","10"
,"height","20"
);
wpanel6.addView(wlabel10);
wlabel11 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_WLABEL11
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","label"
,"height","35"
);
wpanel6.addView(wlabel11);
txtgroupcode = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TXTGROUPCODE
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"font-size","17"
,"bindfield","groupcode"
,"background","#ffffff"
,"width","290.0"
,"font-family","default"
,"placeholder","输入集团编码"
,"layout-type","hbox"
,"halign","LEFT"
,"height","40.0"
);
wpanel6.addView(txtgroupcode);

return wpanel6;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL0
,"border-bottom-color","#e2e2e2"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","hbox"
,"halign","LEFT"
,"height","44"
);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","工厂"
,"margin-right","10"
,"height","20"
);
panel0.addView(label2);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","label"
,"height","35"
);
panel0.addView(label3);
lblfactory = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LBLFACTORY
,"bindfield","factory.name"
,"color","#167ef8"
,"padding-left","4"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"height","43"
);
panel0.addView(lblfactory);
btnfactory = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTNFACTORY
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btnfactory_onclick"
,"width","44.0"
,"font-size","17"
,"font-family","default"
,"valign","center"
,"background-image","btn_add.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
panel0.addView(btnfactory);

return panel0;
}
public View getWpanel7View(final UMActivity context,IBinderGroup binderGroup) {
wpanel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_WPANEL7
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","LEFT"
,"height","44"
);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
wpanel7.addView(panel0);

return wpanel7;
}
public View getWpanel8View(final UMActivity context,IBinderGroup binderGroup) {
wpanel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_WPANEL8
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","LEFT"
,"height","44"
);
wlabel14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_WLABEL14
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","库存组织"
,"margin-right","10"
,"height","20"
);
wpanel8.addView(wlabel14);
wlabel15 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_WLABEL15
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","label"
,"height","35"
);
wpanel8.addView(wlabel15);
lblstockorg = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LBLSTOCKORG
,"bindfield","stockorg.name"
,"color","#167ef8"
,"padding-left","4"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"height","43"
);
wpanel8.addView(lblstockorg);
btnstockorg = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTNSTOCKORG
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btnstockorg_onclick"
,"width","44.0"
,"font-size","17"
,"font-family","default"
,"valign","center"
,"background-image","btn_add.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
wpanel8.addView(btnstockorg);

return wpanel8;
}
public View getWpanel9View(final UMActivity context,IBinderGroup binderGroup) {
wpanel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_WPANEL9
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","LEFT"
,"height","44"
);
wlabel16 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_WLABEL16
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","仓库"
,"margin-right","10"
,"height","20"
);
wpanel9.addView(wlabel16);
wlabel17 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_WLABEL17
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","label"
,"height","35"
);
wpanel9.addView(wlabel17);
lblstock = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LBLSTOCK
,"bindfield","stordoc.name"
,"color","#167ef8"
,"padding-left","4"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"height","43"
);
wpanel9.addView(lblstock);
btnstock = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTNSTOCK
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btnstock_onclick"
,"width","44.0"
,"font-size","17"
,"font-family","default"
,"valign","center"
,"background-image","btn_add.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
wpanel9.addView(btnstock);

return wpanel9;
}
public View getTbgenabledmoduleView(final UMActivity context,IBinderGroup binderGroup) {
tbgenabledmodule = (UMToggleButtonGroup)ThirdControl.createControl(new UMToggleButtonGroup(context),ID_TBGENABLEDMODULE
,"layout","hbox"
,"border","1px solid #f7931e"
,"padding","10"
,"bindfield","enabledmodule"
,"width","fill"
,"valign","top"
,"layout-type","hbox"
,"halign","CENTER"
,"height","44"
);
togglebutton0 = (UMToggleButton)ThirdControl.createControl(new UMToggleButton(context),ID_TOGGLEBUTTON0
,"font-pressed-color","#ffffff"
,"color","#e50011"
,"font-size","17"
,"valign","center"
,"type","button"
,"texton","离散"
,"background-color-off","#ffffff"
,"width","137.0"
,"checked","true"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","0"
,"background-color-on","#f7931e"
,"textoff","离散"
,"height","42.0"
);
tbgenabledmodule.addView(togglebutton0);
togglebutton1 = (UMToggleButton)ThirdControl.createControl(new UMToggleButton(context),ID_TOGGLEBUTTON1
,"border","1px solid #f7931e"
,"font-pressed-color","#ffffff"
,"color","#e50011"
,"font-size","17"
,"valign","center"
,"type","button"
,"texton","流程"
,"background-color-off","#ffffff"
,"width","137.0"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","1"
,"background-color-on","#f7931e"
,"textoff","流程"
,"height","42.0"
);
tbgenabledmodule.addView(togglebutton1);

return tbgenabledmodule;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","hbox"
,"halign","LEFT"
,"height","44"
);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","启用模块"
,"margin-right","10"
,"height","20"
);
panel1.addView(label4);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","label"
,"height","35"
);
panel1.addView(label5);
View tbgenabledmodule = (View) getTbgenabledmoduleView((UMActivity)context,binderGroup);
panel1.addView(tbgenabledmodule);
panel2 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL2
,"width","120.0"
,"valign","TOP"
,"layout-type","hbox"
,"halign","center"
,"height","60.0"
);
panel1.addView(panel2);

return panel1;
}
public View getWpanel12View(final UMActivity context,IBinderGroup binderGroup) {
wpanel12 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_WPANEL12
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","LEFT"
,"height","44"
);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
wpanel12.addView(panel1);

return wpanel12;
}
public View getWpanelsettingView(final UMActivity context,IBinderGroup binderGroup) {
wpanelsetting = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_WPANELSETTING
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:wpanelsetting_onload"
,"height","wrap"
);
View wpanel4 = (View) getWpanel4View((UMActivity)context,binderGroup);
wpanelsetting.addView(wpanel4);
View wpanel5 = (View) getWpanel5View((UMActivity)context,binderGroup);
wpanelsetting.addView(wpanel5);
View wpanel6 = (View) getWpanel6View((UMActivity)context,binderGroup);
wpanelsetting.addView(wpanel6);
View wpanel7 = (View) getWpanel7View((UMActivity)context,binderGroup);
wpanelsetting.addView(wpanel7);
View wpanel8 = (View) getWpanel8View((UMActivity)context,binderGroup);
wpanelsetting.addView(wpanel8);
View wpanel9 = (View) getWpanel9View((UMActivity)context,binderGroup);
wpanelsetting.addView(wpanel9);
View wpanel12 = (View) getWpanel12View((UMActivity)context,binderGroup);
wpanelsetting.addView(wpanel12);
btnsave = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTNSAVE
,"font-pressed-color","#e50011"
,"color","#ffffff"
,"onclick","action:btnsave_onclick"
,"font-size","20"
,"valign","center"
,"margin-right","10"
,"margin-left","10"
,"background","#f7931e"
,"width","fill"
,"font-family","default"
,"margin-top","20"
,"layout-type","vbox"
,"halign","center"
,"margin-bottom","20"
,"value","保存"
,"height","44"
);
wpanelsetting.addView(btnsave);

return wpanelsetting;
}
public View getScrollview_wpanelsettingView(final UMActivity context,IBinderGroup binderGroup) {
Scrollview_wpanelsetting = (UMScrollView)ThirdControl.createControl(new UMScrollView(context),ID_SCROLLVIEW_WPANELSETTING
,"layout","vbox"
,"width","fill"
,"hscrollenabled","disabled"
,"layout-type","vbox"
,"height","fill"
);
View wpanelsetting = (View) getWpanelsettingView((UMActivity)context,binderGroup);
Scrollview_wpanelsetting.addView(wpanelsetting);

return Scrollview_wpanelsetting;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"content","                    ﻿    "
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View Scrollview_wpanelsetting = (View) getScrollview_wpanelsettingView((UMActivity)context,binderGroup);
viewPage0.addView(Scrollview_wpanelsetting);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
LoginSettingPage = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_LOGINSETTINGPAGE
,"layout","vbox"
,"controller","LoginSettingPageController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
LoginSettingPage.addView(viewPage0);

return (UMWindow)LoginSettingPage;
}

	
	public void actionBtnsave_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btnsave_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btnsave_onclick()",UMActivity.getViewId(control),args);
}
public void actionWpanelsetting_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "wpanelsetting_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.wpanelsetting_onload()",UMActivity.getViewId(control),args);
}
public void actionBtnstock_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btnstock_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btnstock_onclick()",UMActivity.getViewId(control),args);
}
public void actionBtntestconn_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btntestconn_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btntestconn_onclick()",UMActivity.getViewId(control),args);
}
public void actionBtnstockorg_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btnstockorg_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btnstockorg_onclick()",UMActivity.getViewId(control),args);
}
public void actionBtnfactory_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btnfactory_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btnfactory_onclick()",UMActivity.getViewId(control),args);
}
public void actionBtnback_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btnback_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btnback_onclick()",UMActivity.getViewId(control),args);
}


}
